import request from '../utils/request';
import type { PromiseRes, LoginQuery, LoginRes } from '../interface/sys';

export const login = (data:LoginQuery) => request({ method: 'POST', url: 'users/login', data });
export const menuList = (data?:any) => request({ method: 'POST', url: 'menuList', data });
